<?php slot('title', "产品商城 - 五行测评") ?>
<?php slot('keywords', "五行,五行测评,五行人格,五行管理,五行养生") ?>
<?php slot('description', "五行测评 - 帮你寻找困惑的答案！") ?>

<div class="wrap clearfix">
  <div class="sidebar">
    <ul id="nav-02">
      <li class="current">
        <a href="<?php echo url_for(array('sf_route' => 'shop', 'paper_id' => '1')) ?>">五行测评</a>
      </li>
      <li>
        <a href="<?php echo url_for(array('sf_route' => 'shop', 'paper_id' => '2')) ?>">高考志愿</a>
      </li>
    </ul>
  </div>
  <div class="content">
    <div style="text-align: right; margin-bottom: 10px;">
      <img src="/images/banner.jpg" width="710" alt="" />
    </div>
    <?php $i = 0 ?>
    <?php foreach ($sf_data->getRaw('paper')->getExplanations() as $explanation): ?>
    <dl class="mzr<?php if (($i++) % 2) echo ' last' ?>">
      <dt>
      <a href="<?php echo url_for('@paper?id='.$paper->getId()) ?>"><?php echo $explanation->getTitle() ?></a>
      </dt>
      <dd class="img">
        <img src="/uploads/explanation/icon/<?php echo $explanation->getImage() ?>" alt="" />
      </dd>
      <dd>
        <?php echo $explanation->getSummary() ?>
      </dd>
      <dd class="cost">
        <?php if ($explanation->getCost()): ?>
        价值：<?php echo $explanation->getCost() ?>元
        <?php else: ?>免费<?php endif ?>
      </dd>
    </dl>
    <?php endforeach ?>
  </div>
</div>
